package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.Process;
import com.qidianit.mes.pojo.Result;

import java.util.List;

public interface ProcessService {
    Result<PageInfo<Process>> queryProcesses(Process process, int page, int size);

    Result<Process> addProcess(Process process);

    Result<Process> queryProcess(String code);

    Result updateProcess(Process process);

    Result deleteProcess(Long id);

    Result batchDelete(Long[] ids);



}
